import turtle

turtle.delay(3)
pen = turtle.Pen()
pen.pencolor("#00bc00")
length = 50
pen.up()
pen.goto(length, 0)
pen.down()
pen.speed(6)

side = 6
adj_length = length/side*8.0
for i in range(side):
    pen.left(360/side)
    pen.forward(adj_length)

turtle.done()